using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._MaritimeTools._S._57._Management
{
    /// <summary>
    /// <para>Copy S-57 Features</para>
    /// <para>Copies features from a layer or multiple
    /// layers to a target geodatabase.</para>
    /// <para>从一个或多个图层复制要素
    /// 图层添加到目标地理数据库。</para>
    /// </summary>    
    [DisplayName("Copy S-57 Features")]
    public class CopyS57Features : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public CopyS57Features()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_features">
        /// <para>Input Features</para>
        /// <para>The input features that will be copied to the Target Workspace parameter value.</para>
        /// <para>将复制到“目标工作空间”参数值的输入要素。</para>
        /// </param>
        /// <param name="_target_workspace">
        /// <para>Target Workspace</para>
        /// <para>The geodatabase to which the output data will be written.</para>
        /// <para>将输出数据写入的地理数据库。</para>
        /// </param>
        public CopyS57Features(List<object> _in_features, object _target_workspace)
        {
            this._in_features = _in_features;
            this._target_workspace = _target_workspace;
        }
        public override string ToolboxName => "Maritime Tools";

        public override string ToolName => "Copy S-57 Features";

        public override string CallName => "maritime.CopyS57Features";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_features, _target_workspace, _compilation_scale, _updated_workspace];

        /// <summary>
        /// <para>Input Features</para>
        /// <para>The input features that will be copied to the Target Workspace parameter value.</para>
        /// <para>将复制到“目标工作空间”参数值的输入要素。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public List<object> _in_features { get; set; }


        /// <summary>
        /// <para>Target Workspace</para>
        /// <para>The geodatabase to which the output data will be written.</para>
        /// <para>将输出数据写入的地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _target_workspace { get; set; }


        /// <summary>
        /// <para>Compilation Scale</para>
        /// <para>The compilation scale attribute value that will be applied to the copied features.</para>
        /// <para>将应用于复制要素的编译比例属性值。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Compilation Scale")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public long? _compilation_scale { get; set; } = null;


        /// <summary>
        /// <para>Updated Workspace</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Workspace")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_workspace { get; set; }


        public CopyS57Features SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}